package com.jiyun.user.service.impl;

import com.jiyun.Result.Result;
import com.jiyun.user.mapper.PlusRuleMapper;
import com.jiyun.user.service.PlusRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PlusRuleServiceImpl implements PlusRuleService {

    @Autowired
    private PlusRuleMapper plusRuleMapper;

    @Override
    public Result findPlusRule() {
        return Result.ok(plusRuleMapper.findPlusRuleAll());
    }
}
